package com.smh.a03innerclassdemo3;

public class Outer {
    private int a=2;
    private static int b = 10;

    static class Inner{
        public void show(){
            Outer outer = new Outer();
            System.out.println("inner");
            System.out.println(outer.a);
            System.out.println(b);
        }
        public static void show2(){
            Outer outer = new Outer();
            System.out.println("static inner");
            System.out.println(outer.a);
            System.out.println(b);
        }
    }
}
